package com.gaoh.modules.base.service;

import com.gaoh.modules.base.entity.FileInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * @Description: 文件信息
 * @Author: jeecg-boot
 * @Date:   2020-01-06
 * @Version: V1.0
 */
public interface IFileInfoService extends IService<FileInfo> {


    /**
     * 文件上传
     * @param request
     * @param fileInfo
     * @return
     * @throws Exception
     */
    String uploadImg(HttpServletRequest request, FileInfo fileInfo) throws Exception;
}
